package work.mediway.mdm.biz.service.biz;

import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

import work.mediway.mdm.biz.dto.biz.SsFieldPermDTO;
import work.mediway.mdm.biz.entity.biz.SsUserLinkField;
import work.mediway.mdm.biz.vo.biz.SsFieldPermVO;

/**
 * @author zhongyj <1126834403@qq.com><br/>
 * @date 2021/3/25
 */
public interface SsUserLinkFieldService extends IService<SsUserLinkField> {


    /**
     * 保存或者更新字段权限信息
     *
     * @param userLinkFields List<SsUserLinkField>
     */
    void saveFieldPerm(List<SsUserLinkField> userLinkFields);

    /**
     * 查询字段权限信息
     *
     * @param fieldPermDTO SsFieldPermDTO
     * @return List<SsFieldPermVO>
     */
    List<SsFieldPermVO> listFieldPerm(SsFieldPermDTO fieldPermDTO);
}
